<template>
    <div class="completeactivity">
        <div class="completeactivitybj"><img class="completeactivitybj-img" src="@/assets/images/red/bg_complete.jpg"
                alt=""></div>
        <div @click="goreturn" class="completeactivityicon"><i class="el-icon-circle-close"></i></div>
    </div>
</template>
<script>
export default {
    methods: {
        goreturn() {
            console.log('返回')
            if (this.$route.query.id == 1) {
                this.$router.push({
                    path: '/result'
                })
            } else {
                this.$router.push({
                    path: '/activity'
                })
            }
        }

    }
}
</script>
<style>
.completeactivity {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.completeactivitybj {
    width: 100%;
    height: 100%;
}

.completeactivitybj-img {
    width: 100%;
    height: 100%;
}

.completeactivityicon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 36px;
    width: 45px;
    height: 45px;
    color: #fff;
    text-align: center;
    line-height: 45px;
}</style>